import { get, post, request } from "@/utils/request";
// 异常资产排名
export function abnormalAssets(query) {
    return post("/assetSituation/abnormalAssets",query);
}
// 违规人员
export function abnormalUser(query) {
  return post("/assetSituation/abnormalUser",query);
}
// 设备状态
export function equipmentStatus(assetsType) {
    return post("/assetSituation/equipmentStatus",{assetsType});
}
// 设备使用状态
export function equipmentUseStatus(assetsType) {
    return post("/assetSituation/equipmentUseStatus",{assetsType});
}
// 资产分布-单位部门
export function assetDistribution(assetsType) {
    return post("/assetSituation/assetDistribution",{assetsType});
}
// 资产分布-部署网络
export function assetDistributionNet(query) {
    return post("/assetSituation/assetDistributionNet",query);
}
// 高风险资产
export function highRiskAsset(query) {
    return post("/assetSituation/highRiskAsset",query);
}
// 资产环比拓扑
export function assetsRingRatio(query) {
    return post("/assetSituation/assetsRingRatio",query);
}
// 资产环比拓扑图-资产类型
export function assetsTypeRingRatio(assetsType) {
    return post("/assetSituation/assetsTypeRingRatio",{assetsType});
}
// 资产分页查询
export function assetsListPage(query) {
    return post("/assetSituation/assetsListPage",query);
}
// 网络安全重点关注项
export function itemThings(query) {
    return post("/Situation/event/asset/safety/item",query);
}
// 国产替代率
export function localizationSubstitutionRate(query) {
    return post("/assetSituation/localizationSubstitutionRate",query);
}
// 国产替代率-资产类型
export function localizationSubstitutionTypeRate(assetsType) {
    return post("/assetSituation/localizationSubstitutionTypeRate",{assetsType});
}
// 防护/监管有效性
export function protectionEffectiveness(searchType) {
    return post("/assetSituation/protectionEffectiveness",{searchType});
}
// 未上线天数TOP5
export function offLineDaysTop(query) {
    return post("/gradedProtection/offLineDaysTop",query);
}
// 事件列表
export function kpilList(query) {
    return post("/alarm/search/list",query);
}

//高风险资产列表
export function getAssetsPageListHight(query) {
    return post("/assetSituation/getAssetsPageListHight",query);
}
// 高风险资产类型统计数据
export function getAssetsHightCount(query) {
    return post("/assetSituation/getAssetsHightCount",query);
}